\hypertarget{structconnection}{\section{connection$<$ T $>$ Struct Template Reference}
\label{structconnection}\index{connection$<$ T $>$@{connection$<$ T $>$}}
}


{\ttfamily \#include $<$Graph.\-h$>$}

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
bool \hyperlink{structconnection_a4776a8b40eb2085459fcd4aac9cdd482}{operator$<$} (const \hyperlink{structconnection}{connection}$<$ T $>$ \&con) const 
\item 
bool \hyperlink{structconnection_afd16f983cb3ab84fc2593cc56789b6ed}{operator$>$} (const \hyperlink{structconnection}{connection}$<$ T $>$ \&con) const 
\item 
bool \hyperlink{structconnection_aecd76234cb0afa4d037840d729ba8d92}{operator==} (const \hyperlink{structconnection}{connection}$<$ T $>$ \&con) const 
\end{DoxyCompactItemize}
\subsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_node}{Node}$<$ T $>$ $\ast$ \hyperlink{structconnection_a7e9711a3e21c8ba4b18998bcb67643a0}{ptr}
\item 
int \hyperlink{structconnection_ad50022388a8b9fa19477082fe43c5ebc}{weight}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
\subsubsection*{template$<$class T$>$struct connection$<$ T $>$}



Definition at line 107 of file Graph.\-h.



\subsection{Member Function Documentation}
\hypertarget{structconnection_a4776a8b40eb2085459fcd4aac9cdd482}{\index{connection@{connection}!operator$<$@{operator$<$}}
\index{operator$<$@{operator$<$}!connection@{connection}}
\subsubsection[{operator$<$}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T$>$ bool {\bf connection}$<$ T $>$\-::operator$<$ (
\begin{DoxyParamCaption}
\item[{const {\bf connection}$<$ T $>$ \&}]{con}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{structconnection_a4776a8b40eb2085459fcd4aac9cdd482}


Definition at line 111 of file Graph.\-h.

\hypertarget{structconnection_aecd76234cb0afa4d037840d729ba8d92}{\index{connection@{connection}!operator==@{operator==}}
\index{operator==@{operator==}!connection@{connection}}
\subsubsection[{operator==}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T$>$ bool {\bf connection}$<$ T $>$\-::operator== (
\begin{DoxyParamCaption}
\item[{const {\bf connection}$<$ T $>$ \&}]{con}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{structconnection_aecd76234cb0afa4d037840d729ba8d92}


Definition at line 119 of file Graph.\-h.



References connection$<$ T $>$\-::weight.

\hypertarget{structconnection_afd16f983cb3ab84fc2593cc56789b6ed}{\index{connection@{connection}!operator$>$@{operator$>$}}
\index{operator$>$@{operator$>$}!connection@{connection}}
\subsubsection[{operator$>$}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T$>$ bool {\bf connection}$<$ T $>$\-::operator$>$ (
\begin{DoxyParamCaption}
\item[{const {\bf connection}$<$ T $>$ \&}]{con}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{structconnection_afd16f983cb3ab84fc2593cc56789b6ed}


Definition at line 115 of file Graph.\-h.



References connection$<$ T $>$\-::weight.



\subsection{Member Data Documentation}
\hypertarget{structconnection_a7e9711a3e21c8ba4b18998bcb67643a0}{\index{connection@{connection}!ptr@{ptr}}
\index{ptr@{ptr}!connection@{connection}}
\subsubsection[{ptr}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T$>$ {\bf Node}$<$T$>$$\ast$ {\bf connection}$<$ T $>$\-::ptr}}\label{structconnection_a7e9711a3e21c8ba4b18998bcb67643a0}


Definition at line 108 of file Graph.\-h.



Referenced by Node$<$ T $>$\-::connect().

\hypertarget{structconnection_ad50022388a8b9fa19477082fe43c5ebc}{\index{connection@{connection}!weight@{weight}}
\index{weight@{weight}!connection@{connection}}
\subsubsection[{weight}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T$>$ int {\bf connection}$<$ T $>$\-::weight}}\label{structconnection_ad50022388a8b9fa19477082fe43c5ebc}


Definition at line 109 of file Graph.\-h.



Referenced by Node$<$ T $>$\-::connect(), connection$<$ T $>$\-::operator==(), and connection$<$ T $>$\-::operator$>$().



The documentation for this struct was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
C\-:/\-Users/\-Axel/\-Desktop/informatica/\-Projects/\-Workspace C++/\-Game Engine/src/\-Math/\-Data Structures/\hyperlink{_graph_8h}{Graph.\-h}\end{DoxyCompactItemize}
